﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MemberList.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.Shop.Agent.MemberList" %>



<%@ Import Namespace ="ZLCMS.Business.Util" %>

<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>
<style type="text/css">
.panelBar .toolBar li.stat{background-position:0 0; padding:0;}
</style>

<%=_framePage.TabInfoHtml()%>


   	<div class="panelBar">
		<ul class="toolBar">
        <li><a class="delete" href="/SystemManage/Basics/Shop/Member/MemberDelete.aspx" target="selectedTodo" title="请确定要删除勾选会员"><span>删除</span></a></li>
		<li class="stat" ><span>合计<%=TotalCount %>人，当日新增<%=TodayCount %>人</span></li>
        </ul>
	</div>
	<div class="tableList"   layoutH="96">
	<table class="list" targetType="navTab" asc="asc" desc="desc">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
				<th width="80px">头像</th>
                <th width="100px">手机号码</th>

				<th width="100px">姓名</th>
                <th width="100px">微信昵称</th>
				<th width="100px">邮箱</th>
                <th width="100px">注册时间</th>
                <th width="100px">积分</th>
				<th width="80px">所属</th>
				<th width="120px" align=center>操作</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="repeater1">
                <ItemTemplate>
			    <tr target="uid" rel=<%# Eval("Id")%>>
                    <td><input name="ids" value="<%#Eval("Id")%>" type="checkbox"/></td>
                    <td width="80px" height="80px"><img width="80px" src="<%#ZLCMS.Business.Util.FileKit.FirstFilePath(Eval("PhotoUrl")) %>"></td>
                    <td><%# Eval("Phone")%></td>           
				    <td><%# Eval("MemberName")%></td>
				    <td><%# Eval("NickName")%></td>
				    <td><%# Eval("Email")%></td>
                    <td><%#string.Format("{0:yyyy-MM-dd}",Eval("AddDate"))%></td>
				     <td>
                    <a href="/SystemManage/Basics/Shop/Member/ScoreList.aspx?acc=<%# Eval("AccountId")%>&tabid=ScoreList&tabtitle=积分记录" target="navTab" rel="ScoreList" title="积分记录">
                    <%# Eval("Score")%></a>
				        </td>
				    <td><%# Eval("AgentAccount")%></td>

				    <td align=center>

				        <a href="/SystemManage/Basics/Shop/Member/MemberDelete.aspx?ids=<%# Eval("Id")%>" target="ajaxTodo" title="请确定要删除">删除</a>
                        
				    </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>

	</div>
	
    
    
<%= _framePage.GetPagerContentHtml("navTab", Request["cid"])%>

